-
Home
-
Tripzzy – Best Travel Engine Plugin for WordPress
-
1.3.0 (latest)
-
Code
-
Classes
- Cart
Total Complexity |
63 |
Dependencies |
8 |
Dependents |
4 |
Total lines |
688 |
Lines of code |
293 |
Logical lines of code |
162 |
Comment lines |
305 |
Methods |
36 |
Properties |
7 |
Methods 36
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_item_total_data() |
A |
48 |
7 |
33 |
add() |
S |
44 |
4 |
48 |
calculate_totals() |
S |
51 |
5 |
26 |
generate_cart_item() |
S |
46 |
3 |
40 |
get_totals() |
S |
68 |
4 |
7 |
remove() |
S |
61 |
3 |
13 |
generate_cart_id() |
S |
63 |
3 |
10 |
empty_cart() |
S |
62 |
2 |
12 |
get_cart_item() |
S |
78 |
2 |
3 |
get_cart() |
S |
71 |
2 |
6 |
update_coupon_uses() |
S |
64 |
2 |
10 |
get_cart_hash() |
S |
71 |
2 |
5 |
get_customer() |
S |
81 |
1 |
3 |
set_subtotal() |
S |
80 |
1 |
3 |
reset_totals() |
S |
75 |
1 |
4 |
is_empty() |
S |
79 |
1 |
3 |
set_total() |
S |
80 |
1 |
3 |
set_discount_total() |
S |
80 |
1 |
3 |
set_subtotal_tax() |
S |
80 |
1 |
3 |
__construct() |
S |
63 |
1 |
10 |
set_totals() |
S |
79 |
1 |
3 |
cart_type() |
S |
78 |
1 |
3 |
set_applied_coupons() |
S |
80 |
1 |
3 |
set_removed_cart_contents() |
S |
80 |
1 |
3 |
set_cart_contents() |
S |
80 |
1 |
3 |
get_total() |
S |
78 |
1 |
3 |
get_net_total() |
S |
78 |
1 |
3 |
get_tax_total() |
S |
78 |
1 |
3 |
get_sub_total() |
S |
78 |
1 |
3 |
get_discount_total() |
S |
78 |
1 |
3 |
get_gross_total() |
S |
78 |
1 |
3 |
get_applied_coupons() |
S |
81 |
1 |
3 |
get_removed_cart_contents() |
S |
81 |
1 |
3 |
get_cart_contents() |
S |
78 |
1 |
3 |
use_default_cart() |
S |
80 |
1 |
3 |
set_coupon_discount_tax_totals() |
S |
80 |
1 |
3 |